<div class="navigation">
    <a href="/">Главная</a>&nbsp;&nbsp;/&nbsp;&nbsp;Регистрация (продажа/покупка мерных слитков)
</div>

<div class="">
    <h1 class="zag"><?= $oContent->page_title; ?></h1>
    <div class="line"> </div>
    <?= $oContent->page_text; ?>
    
    <div>
        <form class="form" method="post" action="<?= Yii::app()->controller->createUrl('/register2'); ?>">
            <div class="wiz-content">
                <div>
                    <label for="profile-email"><font color="red">*</font> Email</label>
                    <input id="profile-email" type="text" name="aProfile[email]" value="<?= $oProfile->email;?>" class="width_8 required email" />
                    <span class="annotation">tstz@ifin.by</span>
                    <? if($oProfile->hasErrors('email')): ?>
                        <? foreach($oProfile->getErrors('email') as $errorMessage): ?>
                        <br />
                        <label for="profile-email" class="error">
                            <?= $errorMessage;?>
                        </label>
                        <? endforeach; ?>
                    <? endif; ?>
                </div>
            </div>

            <div class="wiz-content">
                <div>
                    <label for="profile-captcha"><font color="red">*</font>Введите код</label>
                    <div style="float: left; padding-top: 13px;">
                        <input id="profile-email" type="text" name="captcha" value="" class="required" style="width: 70px;" />
                    </div>
                    <div style="float: left; vertical-align: middle;">
                        <?php $this->widget('CCaptcha', array('buttonLabel' => '<br>(новый код)', 'clickableImage' => true, 'buttonOptions' => array('style' => 'display:block; line-height:1px; margin-left:20px;'))); ?>
                    </div>
                    <div style="clear: both;"></div>
                    <? if($oProfile->hasErrors('captcha')): ?>
                        <? foreach($oProfile->getErrors('captcha') as $errorMessage): ?>
                        <br />
                        <label for="profile-captcha" class="error">
                            <?= $errorMessage;?>
                        </label>
                        <? endforeach; ?>
                    <? endif; ?>
                </div>
            </div>


            

            <div>
                <input type="submit" name="do[register]" value="Зарегистрировать" />
            </div>
        </form>
    </div>
</div>

